import request from '@/utils/request'

export function getContractList(data) {
  return request({
    url: '/bidContract/find',
    method: 'post',
    data
  })
}
export function saveContract(data) {
  return request({
    url: '/bidContract/sign',
    method: 'post',
    data
  })
}
export function editContractPrice(data) {
  return request({
    url: '/bidContract/updatePay',
    method: 'post',
    data
  })
}
export function contractDetails(id) {
  return request({
    url: `/bidContract/detail/${id}`,
    method: 'get',
  })
}
/*标详情 */
export function bidPurchaseDetails(id) {
  return request({
      url:`/bid/detail/${id}`,
      method: 'get'
  })
}
